package com.boolib.animate.commons.base.face;

import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @author nier
 * @create 2020-02-19 18:16
 */

public interface BaseSqlSaveService <T> {


    @Transactional
    T save(T t);

    @Transactional
    T saveSelective(T t);


    @Transactional
    List<T> saveBatch(List<T> t);
}
